import './assets/main.css'

import { createApp } from 'vue'

// 引入element plus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import App from './App.vue'

// 引入组件
import GlobalComDemo from './components/GlobalComDemo.vue'

//引入路由对象
import router from './router'

import i18n from './i18n'

import store from './store'




const app = createApp(App)

// 注册全局组件
app.component('GlobalComDemo', GlobalComDemo)

// 使用element plus
app.use(ElementPlus)

//注册路由
app.use(router)

//挂载i8n
app.use(i18n)


//注册Vuex
app.use(store)

app.mount('#app')
